Memsource\Service\OptionsService S

Total Complexity 44
Dependencies 4
Dependents 15
Total lines 205
Lines of code 148
Logical lines of code 74
Comment lines 4
Methods 32
Properties 14

Methods 32

Method Rating Maintainability Complexity Lines of code
updateLanguages()
S
60 5 12
detectSourceLanguage()
S
62 3 12
createNewToken()
S
67 2 8
getListStatuses()
S
68 2 7
getMemsourceApiPrefix()
S
75 2 4
getTranslateStatus()
S
69 2 7
getInsertStatus()
S
69 2 7
isDebugMode()
S
79 2 3
initOptions()
S
59 1 14
updateListStatuses()
S
79 1 3
updateOAuthToken()
S
79 1 3
getAllMemsourceOptions()
S
66 1 8
getToken()
S
80 1 3
generateAndSaveToken()
S
80 1 3
updateAdminUser()
S
80 1 3
getAdminUser()
S
80 1 3
getTargetLanguages()
S
79 1 3
getSourceLanguage()
S
81 1 3
wpmlFound()
S
80 1 3
getOAuthToken()
S
80 1 3
wpmlActive()
S
81 1 3
updateInsertStatus()
S
80 1 3
updateMemsourceApiPrefix()
S
79 1 3
getLastProcessedId()
S
80 1 3
updateLastProcessedId()
S
79 1 3
updateVersion()
S
80 1 3
updateAutomationWidgetId()
S
79 1 3
getVersion()
S
80 1 3
updateTranslateStatus()
S
80 1 3
setDebugMode()
S
80 1 3
getRestNamespace()
S
82 1 3
getAutomationWidgetId()
S
80 1 3